package com.sinosoft.hydra.um.domain.permission;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 日志操作者
 * @author Administrator
 *
 */
@Entity
@Table(name="logging_event_property")
public class SysLogProperty implements Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String ip;//操作者ip
	private String name;//操作者名称
	@Id
    @Column(name = "event_id")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 操作者ip
	 * @return String
	 */
	@Column(name="mapped_key")
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	
	/**
	 * 操作者名称
	 * @return String
	 */
	@Column(name="mapped_value")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}


	public String toString() {
		return id + " | " + ip + " | " + name + " | \r\n";
	}
	
}
